home *** CD-ROM | disk | FTP | other *** search
- property pLeftMain, pCenterMain, pRightMain
- global gBioValue, gScrollerObj
-
- on new me, leftMain, centerMain, rightMain
- set pLeftMain to leftMain
- set pCenterMain to centerMain
- set pRightMain to rightMain
- return me
- end
-
- on ResetMonitors me
- set gBioValue to 0
- set the visible of sprite 75 to 0
- set the visible of sprite 76 to 0
- hideAll(gScrollerObj)
- set the visible of sprite pCenterMain to 0
- set the loc of sprite pCenterMain to point(320, 230)
- updateStage()
- set the member of sprite pCenterMain to "center main"
- set the blend of sprite pCenterMain to 100
- set the foreColor of sprite pCenterMain to 255
- set the ink of sprite pCenterMain to 0
- updateStage()
- end
-
- on setLeft me, thisMember
- set the member of sprite pLeftMain to thisMember
- updateStage()
- end
-
- on setCenter me, thisMember
- set the member of sprite pCenterMain to thisMember
- set the visible of sprite pCenterMain to 1
- updateStage()
- end
-
- on setRight me, thisMember
- set the member of sprite pRightMain to thisMember
- updateStage()
- end
-
- on checkMovie
- if the movieRate of sprite pLeftMain = 0 then
- set nextMember to the memberNum of sprite pLeftMain + 1
- set the member of sprite pLeftMain to member nextMember of castLib "QuickTime"
- set gBioValue to 0
- end if
- end
-
- on resetMovie me
- set the movieTime of sprite pCenterMain to 0
- set the movieRate of sprite pCenterMain to 1
- end
-
- on resetCenter1 me
- if the movieRate of sprite pCenterMain = 0 then
- set the member of sprite pCenterMain to "Impact Loop"
- set gBioValue to 0
- end if
- end
-
- on resetCenter2 me
- if the movieRate of sprite pCenterMain = 0 then
- set thisMember to the member of sprite pCenterMain
- set thisName to the name of member thisMember
- case thisName of
- "MBAY":
- set tempLeft to "MB_STAT"
- set tempCenter to "BAY BIO"
- set tempNum to 244
- "BRUCK":
- set tempLeft to "JB_STAT"
- set tempCenter to "BRUCK BIO"
- set tempNum to 148
- end case
- set gBioValue to 0
- setLeft(me, tempLeft)
- set the member of sprite pCenterMain to tempCenter
- set the scrollTop of member tempCenter to 0
- set the loc of sprite pCenterMain to point(180, 140)
- set the ink of sprite pCenterMain to 36
- showAll(gScrollerObj, tempNum)
- updateStage()
- end if
- end
-